import { Big } from "../core/Big";
import { Terrain } from "../core/Point";

export class 地灵 extends Big {
  
    turnStart(): void {
        this.actionTime = 2
        this.update()
        if (this.point.terrain == Terrain.JING) {
            this.mother.changeEnergy(2)
        }
    }

    terrainAdapt() {
        switch (this.point.terrain) {
            case Terrain.SHAN:
            case Terrain.SHUI:
                this.die(this.player)
        }
    }
}